package com.j2eefast.produce.pms.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 参建单位
 * pms_participant_unit
 * @author: summer
 * @date 2021-05-29 10:28
 */
@Data
@TableName("pms_participant_unit")
public class PmsParticipantEntity  implements Serializable {

    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    @ExcelIgnore
    private Long id;
    /**编号*/
    @TableField(value = "participant_code")
    @ExcelProperty(value = "编号",index = 0)
    private String participantCode;
    /** 参建编号统计 */
    @TableField(value = "participant_total")
    @ExcelProperty(value = "参建编号统计",index = 22)
    private Long participantTotal;
    /** 工程统计 */
    @TableField(value = "project_total")
    @ExcelProperty(value = "工程统计",index = 23)
    private Long projectTotal;
    /** 参建名称 */
    @TableField(value = "participant_name")
    @ExcelProperty(value = "参建名称",index = 1)
    private String participantName;
    /** 是否作废 */
    @TableField(value = "participant_status")
    @ExcelProperty(value = "是否作废",index = 2)
    private Integer participantStatus;
    /** 工程编号 */
    @TableField(value = "project_code")
    @ExcelProperty(value = "工程编号",index = 3)
    private String projectCode;
    /** 行政区划 */
    @TableField(value = "region")
    @ExcelProperty(value = "行政区划",index = 16)
    private String region;
    /** 工程类别 */
    @TableField(value = "project_type")
    @ExcelProperty(value = "工程类别",index = 5)
    private String projectType;
    /** 工程名称 */
    @TableField(value = "project_name")
    @ExcelProperty(value = "工程名称",index = 4)
    private String projectName;
    /** 作废（0：正常 1：作废） */
    @TableField(value = "project_status")
    @ExcelProperty(value = "作废（0：正常 1：作废）",index = 6)
    private String projectStatus;
    /** 监理编号 */
    @TableField(value = "supervisor_code")
    @ExcelProperty(value = "监理编号",index = 7)
    private String supervisorCode;
    /** 监理姓名 */
    @TableField(value = "supervisor_name")
    @ExcelProperty(value = "监理姓名",index = 8)
    private String supervisorName;
    /** 监理手机 */
    @TableField(value = "supervisor_iphone")
    @ExcelProperty(value = "监理手机",index = 9)
    private String supervisorIphone;
    /** 甲方联系人编号 */
    @TableField(value = "first_code")
    @ExcelProperty(value = "甲方联系人编号",index = 10)
    private String firstCode;
    /** 甲方联系人姓名 */
    @TableField(value = "first_name")
    @ExcelProperty(value = "甲方联系人姓名",index = 11)
    private String firstName;
    /** 甲方联系人手机 */
    @TableField(value = "first_iphone")
    @ExcelProperty(value = "甲方联系人手机",index = 12)
    private String firstIphone;
    /** 施工人编号 */
    @TableField(value = "build_code")
    @ExcelProperty(value = "施工人编号",index = 13)
    private String buildCode;
    /** 施工人姓名 */
    @TableField(value = "build_name")
    @ExcelProperty(value = "施工人姓名",index = 14)
    private String buildName;
    /** 施工人手机 */
    @TableField(value = "build_iphone")
    @ExcelProperty(value = "施工人手机",index = 15)
    private String buildIphone;
//    /** 所属单位 */
//    @TableField(value = "participant_unit")
//    private String participantUnit;
//    /** 证书编号 */
//    @TableField(value = "certificate_code")
//    private String certificateCode;
    /** 检测行业 */
    @TableField(value = "testing_industry")
    @ExcelProperty(value = "检测行业",index = 17)
    private String testingIndustry;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    @ExcelProperty(value = "更新时间",index = 21)
    private Date updateTime;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    @ExcelProperty(value = "创建时间",index = 19)
    private Date createTime;

    /** 创建者 */
    @TableField(value = "create_by")
    @ExcelProperty(value = "创建者",index = 18)
    private String createBy;

    /** 更新者 */
    @TableField(value = "update_by")
    @ExcelProperty(value = "更新者",index = 20)
    private String updateBy;
    /** 备注 */
    @TableField(value = "remark")
    @ExcelProperty(value = "备注",index = 24)
    private String remark;
















}
